package com.itcm.purchase.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itcm.purchase.entity.SysPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 后台用户权限表 服务类
 * </p>
 *
 * @author sky
 * @since 2020-06-17
 */
public interface SysPermissionService extends IService<SysPermission> {
    List<SysPermission> getPermissionsByUserId(@Param("userId") Long userId);
}
